package com.service;

import com.dto.LotteryRecordWithPrizeDto;
import com.entity.LotteryOrder;
import com.github.pagehelper.PageInfo;

/**
 * @InterfaceName LotteryOrderService
 * @Description 奖品订单业务层接口
 * @Author Kx
 * @Date 2025/6/19 15:53
 * @Version 1.0
 */
public interface LotteryOrderService {
    /**
     * @author: kx
     * @date: 2025/6/19 15:54
     * @param lotteryOrder : 奖品订单信息
     * @description: 修改奖品订单状态
    */
    void updateLotteryOrderStatus(LotteryOrder lotteryOrder);

    /**
     * @author: kx
     * @date: 2025/6/19 16:13
     * @param pageNum : 当前页码
     * @param pageSize : 每页显示数量
     * @return com.github.pagehelper.PageInfo<com.dto.LotteryRecordWithPrizeDto>
     * @description: 分页查询奖品订单信息
    */
    PageInfo<LotteryRecordWithPrizeDto> getPagedLotteryOrders(Integer pageNum, Integer pageSize);
}
